<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
request.setAttribute("basePath", basePath);
out.clear();
%>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>贝咪 | 登录</title>

    <link href="${basePath }ui/inspinia/css/bootstrap.min.css" rel="stylesheet">
    <link href="${basePath }ui/inspinia/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="${basePath }ui/inspinia/css/animate.css" rel="stylesheet">
    <link href="${basePath }ui/inspinia/css/style.css" rel="stylesheet">

</head>

<body class="gray-bg" <%-- style="background-image: url(${basePath }ui/inspinia/img/2.jpg)" --%>>

    <div class="loginColumns animated fadeInDown" id="loginWin">
        <div class="row">

            <div class="col-md-3" style="color: #ffffff">
                <!-- <h2 class="font-bold">Welcome to HYFD</h2>

                <p>
                    Perfectly designed and precisely prepared admin theme with over 50 pages with extra new web app views.
                </p>

                <p>
                    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
                </p>

                <p>
                    When an unknown printer took a galley of type and scrambled it to make a type specimen book.
                </p>

                <p>
                    <small>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</small>
                </p> -->

            </div>
            <div class="col-md-6">
                <div class="ibox-content">
                    <form class="m-t" role="form" id="loginForm" method="POST" action="${basePath }login">
                   
                        <div class="form-group">
                        <c:if test="${!empty backMsg}"> <c:out value="${backMsg}"/>  </c:if>
                        </div>
                        <div class="form-group">
                            <input type="text" class="form-control" id="suName" name="suName" placeholder="请输入您的用户名！" required>
                        </div>
                        <div class="form-group">
                            <input type="password" class="form-control" id="suPass" name="suPass" placeholder="请输入您的密码！" required>
                        </div>
                        
  							<%-- <input type="text" id="captcha" name="captcha" class="text captcha" maxlength="6" autocomplete="off" placeholder="请输入验证码！" required/>
  							<img id="captchaImage" src="captcha" onclick="change()" title="点击更换验证码"/>
                        	<input type="hidden" id="randomString" name="randomString"  value="${randomString}"/> --%>
                        <button type="button" class="btn btn-primary block full-width m-b" onclick="toLogin()">登录</button>

                        <!-- <a href="#">
                            <small>忘记密码?</small>
                        </a> -->

                    </form>
                    <p class="m-t">
                        <small></small>
                    </p>
                </div>
            </div>
        </div>
        <hr/>
        <div class="row">
            <!-- <div class="col-md-6">
                Copyright Example Company
            </div>
            <div class="col-md-6 text-right">
               <small>© 2017-2020</small>
            </div> -->
        </div>
    </div>
   	<script type="text/javascript" charset="UTF-8" src="${basePath }js/lib/jquery.min.js"></script>
  	<script type="text/javascript" charset="UTF-8" src="${basePath }js/lib/md5.js"></script>
 	<script type="text/javascript" charset="UTF-8" src="${basePath }js/lib/jquery-easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" charset="UTF-8" src="${basePath }js/project/login.js" ></script>
</body>
  
</html>

